  
  
<div class="col-sm-12 mt20">
     <div class="panel">
           <div class="panel-body">
                <div class="col-sm-12">
                  <div class="row">	
                      <div class="col-sm-2">
                          <input type="text" class="form-control" ng-model="searchform.startcard" placeholder="起始卡号">
                      </div>
                      <div class="col-sm-2">
                          <input type="text" class="form-control" ng-model="searchform.endcard" placeholder="结束卡号">
                      </div>
                      <div class="col-sm-2">
                          <input type="text" class="form-control" ng-model="searchform.nickname" placeholder="分销商昵称">
                      </div>
                      <div class="col-sm-2">
                          <input type="text" class="form-control" ng-model="searchform.company_code" placeholder="机构编号">
                      </div>
                      <div class="col-sm-2 pull-right">
                          <input type="button " class="btn btn-info search form-control" ng-click="loadlist()" value="搜索">
                      </div>		        
                      <div class="col-sm-2 pull-right">
                          <input type="button " class="btn btn-info search form-control" ng-click="add()" value="添加卡">
                      </div>
                  </div>
                </div>
          </div>
     </div>



    <div class="panel panel-default table-responsive">
     <div class="panel-body">
    <table ng-click="getlist()" class="table table-hover table-bordered">
	    <thead>
	      <tr>
          <th class="col-md-2 text-center">分销商昵称</th>
          <th class="col-md-2 text-center">分销商头像</th>
          <th class="col-md-2 text-center">机构编号</th>
          <th class="col-md-2 text-center">机构名称</th>
	        <th class="col-md-3 text-center">卡段</th>
	        <th class="col-md-1 text-center">张数</th>
	      </tr>
	    </thead>
	    <tbody>
	    	<tr ng-repeat = "cardrange in cardrangelist">
	        <td class="text-center">{{cardrange.nickname}}</td>
	        <td class="text-center">
              <img ng-src="{{cardrange.headimg}}" width="50" height="50" ng-model="cardrange.headimg">
          </td>
          <td class="text-center">{{cardrange.company_code}}</td>
	        <td class="text-center">{{cardrange.company_name}}</td>
	        <td class="text-center">{{cardrange.mincard}}-{{cardrange.maxcard}}</td>
	        <td class="text-center">{{cardrange.maxcard - cardrange.mincard + 1}}</td>
	      </tr>
	    </tbody>
	</table>
 	    



    <div class="text-right">
    <pagination 
      total-items="bigTotalItems" 
      ng-model="bigCurrentPage" 
      max-size="maxSize" 
      class="pagination-sm" 
      boundary-links="true" 
      ng-change="loadlist()"
      items-per-page="itemsPerPage"
      previous-text="上一页"
      next-text="下一页"
      first-text="首页"
      last-text="末页"
      rotate="false">
    </pagination>
    </div> 
  
    </div>
   </div>
